class Enrollment < ActiveRecord::Base
  belongs_to :enrolled_user, class_name: 'User', foreign_key: 'user_id'
  belongs_to :watching_contest, class_name: 'Contest', foreign_key: 'contest_id'
end
